#include <stdio.h>
int main()
{
  /* write your code */
  int n;
//  while(n<1000)
  scanf("%d",&n);
 // if(0<=n/*%5 && n%5<4*/)
 if(2<=n&&n<10)
    printf("Fishing\n");
  else
    printf("Drying\n");
  return(0);
}
